package com.twq;


import java.util.ArrayList;
import java.util.List;

/**
 * Created by tangweiqun on 2017/11/28.
 */
public class BasicIntQueue implements Queue<Integer> {

    private List<Integer> list = new ArrayList<Integer>();

    //@Override
    public void put(Integer para) {
        list.add(para);
    }

    //@Override
    public Integer get() {
        return list.remove(0);
    }
}
